package se.hrbustrc.hlgshopping.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import se.hrbustrc.hlgshopping.entity.OrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
@Mapper
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    @Update("update tb_order_info set FOrderState = #{orderState} where FId =#{id}")
    int upOrderState(@Param("id") Long id, @Param("orderState") Integer orderState);
}




